[index]

Wait Command

Syntax

wait for <number>
[ticks | seconds | milliseconds ] wait {while | until} <condition>

Description

The wait command causes Oracle Media Objects to pause before executing the rest of the handler, either for a specified length of time, until a specified condition becomes true, or while a specified condition exists. The condition must supply a true or false value and is typically a logical or relational expression.

Notes

Examples

on mouseDown repeat with i = 1 to 25 put i into field "number" wait while the mouse is up end repeat end mouseDown
This text has been mechanically extracted from the Oracle Media Objects 1.0.4.9 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.